package run.siyuan.jdk.测试;

import java.util.Locale;

/**
 * @className: SqlCommandType
 * @Description: TODO
 * @author: siyuan
 * @date: 2022/6/17 13:56
 */
public enum SqlCommandType {
    UNKNOWN,
    INSERT,
    UPDATE,
    DELETE,
    SELECT,
    FLUSH;

    private SqlCommandType() {
    }

    public static void main(String[] args) {
        SqlCommandType sqlCommandType = SqlCommandType.valueOf("select".toUpperCase(Locale.ENGLISH));
        System.out.println(sqlCommandType.name());
    }

}
